<?php
$sql_delete = "DELETE FROM tbltracking WHERE iTrackingId = '$id'";

if($id==-1)
{
	$sql_delete = "TRUNCATE TABLE `tbltracking` ";
}
$dbsql->query($sql_delete);

$msg = "Delete tracking success !";
$page = "";
page_transfer($msg,$page);
exit();
?>